package org.geektimes.injection.component;

/**
 * @FileName: ComponentBean
 * @Description: TODO
 * @Author: MaWenHao
 * @Created: 2021/3/9 - 下午11:38
 */
public class ComponentBean implements Component {
    
    private Object bean;
    
    public ComponentBean(Object bean) {
        this.bean = bean;
    }
    /**
     * 获取组件对象
     *
     * @return
     */
    @Override
    public Object getBean() {
        return bean;
    }
}
